<{include file="public/header.html"}> 		
		<!--main部分-->
		<div class="x-main-upper w1180-con">
			<!--main--左边--logo/tab---->
			<{include file="public/user_nav.html"}>
				<!--main--右边--banner-->
				<div class="main-right">
					<div class="mright-content">
						<!--头像、昵称、等级-->
						<{include file="public/user_top.html"}> 
						<div class="clear"></div>
						<!--绑定手机-->
						<div class="cash66 mt20">
							<!--title-->
							<a href="#phone">
								<div id="phone" class="title" onclick="show('change-phone')">
                                                                        <input type="hidden" id="pMobile" value="<{$user_info['mobile']}>"/>
									<div id="bindphone" class="vertical"></div><p class="title66">绑定手机</p>
                                                                        <{if $mobile}>
									<a ><b class="icon icon-set ml30"></b><span class="f14"><{$mobile}></span></a>
                                                                        <{else}>
									<a ><b class="icon icon-unset ml30"></b><span style="font-size: 14px;">未绑定</span></a>
                                                                        <{/if}>
									<a href="#phone" class="fr"><b class="setting"><{if $mobile}>修改<{else}>设置<{/if}></b></a>
								</div>
							</a>
							<div class="clear"></div>
                                                        <{if !$mobile}>
							<!--未绑定手机号码流程-->
							<div id="change-phone" class="change" style="display:none;">
								<!--返回图标-->
                                <a class="back fl pl15 mr30" ><b class="icon icon-back mr30" onclick="show('change-phone')" style="cursor: pointer;"></b></a>
								<!--第一步获取新手机号码验证码-->
								<div id="unnow" style="display: block;width:auto;" class="now mr20 dsnone">
									<b class="icon-binded"></b>
									<div class="step">
									</div>	
									<!--新手机号码-->
                                                                        <form id="bind-mobile-form" method="post">
                                                                        <div class="now-phone mt10" id="mobile_box">
										<span class="f14">新手机号码：</span>
                                                                                <input name="uMobile" id="uMobile" class="required" maxlength="11" style="width: 198px;margin-right: 0px;" type="text" value="" placeholder="新手机号码"/>
									</div>
									<div class="clear"></div>
									<div class="message mt10">
										<span class="f14">短信验证码：</span>
                                                                                <input name="smsCode"  class="required" maxlength="6" style="width:100px;margin: 0 12px 0 5px;" type="text" value="" placeholder="短信验证码"/>
                                                                                <button class="bg-dc" id="sendMobilebtn" disabled="true" style="padding: 0px 0px;width: 82px;height: 35px;cursor: not-allowed;" onclick="sendSMSCode(this,'uMobile','m');">发送验证码</button>
										<!--提示-->
									</div>
									<!--图片验证码-->
									<div class="message mt10">
										<span class="f14">图片验证码：</span>
                                                                                <input name="chkCapcha" type="text"  class="required" value="" maxlength="4" style="width:100px;margin: 0 12px 0 5px;" placeholder="图形验证码"/>
                                                                                <span><img src="/vcode/90/50.html" style="width:82px;cursor:pointer;" title="点击刷新" onclick="changeImg(this);"/></span>
									</div>									
									<div class="clear"></div>
                                                                        <input type="submit" value="确认绑定" id="now-sure" class="sure mt10 btnEvent" style="cursor:pointer;"/>
                                                                        </form>
								</div>
								<!-- 第二步恭喜您的手机绑定成功-->
								<div id="unsuccess" style="display: none;" class="now tc">
									<b class="icon-binded2"></b>
									<div class="success-bind">
										<div class="bind">
											<b class="icon icon-success mr20 fl"></b><span class="fl">恭喜您的新手机号绑定成功！</span>
										</div>
										<div class="clear"></div>
									</div>
									<div class="clear"></div>
									<p class="mt20 ti120 tl fresh-pages">3s后自动刷新页面</p>									
								</div>
							</div>
                                                        <{else}>
							<!--已绑定手机号码，修改手机号码-->
							<div id="change-phone" class="change" style="display:none;">
								<!--返回图标-->
                                                                <a class="back fl pl15 mr30" onclick=""><b class="icon icon-back mr30 back-icon" onclick="show('change-phone')" style="cursor: pointer;"></b></a>
								<!--第一步现手机号码---图标-->
								<div id="old" style="display: block;" class="now mr20">
									<b class="icon-change1"></b>
									<div class="step">
									</div>	
									<div class="clear"></div>
                                                                        <form id="modify-mobile-form" method="post">
									<!--获取现手机号码验证码-->
									<div class="now-phone mt10">
										<span class="f14">原手机号码：</span><label class="ml5"><{$mobile}></label>
									</div>
									<div class="clear"></div>
									<div class="message mt10">
										<span class="f14">短信验证码：</span>
                                                                                <input name="smsCode"  style="width:100px;margin: 1px 20px 0 2px;" class="required" type="text" value="" placeholder="短信验证码" value="" maxlength="6"/>
										<button class="bg-red" style="padding: 0px 0px;width: 82px;height: 35px;" onclick="sendSMSCode(this,'pMobile','m');return false;">发送验证码</button>
									</div>
									<div class="clear"></div>
                                                                        <input type="submit" value="验证原手机" id="now-sure" class="sure mt10 btnEvent" style="cursor:pointer;"/>
                                                                        </form>
								</div>	
								<!--第二步获取新手机号码验证码-->
								<div id="unnow" style="display: none;width:auto;" class="now mr20 dsnone">
									<b class="icon-change2"></b>
									<div class="step">
									</div>	
									<!--新手机号码-->
									<form id="bind-mobile-form" method="post">
                                                                        <div class="now-phone mt10" id="mobile_box">
										<span class="f14">新手机号码：</span>
                                                                                <input name="uMobile" id="uMobile" class="required" maxlength="11" style="width: 198px;margin-right: 0px;" type="text" value="" placeholder="新手机号码"/>
									</div>
									<div class="clear"></div>
									<div class="message mt10">
										<span class="f14">短信验证码：</span>
                                                                                <input name="smsCode"  class="required" maxlength="6" style="width:100px;margin: 0 12px 0 5px;" type="text" value="" placeholder="短信验证码"/>
                                                                                <button class="bg-dc" id="sendMobilebtn" disabled="true" style="padding: 0px 0px;width: 82px;height: 35px;cursor: not-allowed;" onclick="sendSMSCode(this,'uMobile','m');return false;">发送验证码</button>
										<!--提示-->
									</div>
									<!--图片验证码-->
									<div class="message mt10">
										<span class="f14">图片验证码：</span>
                                                                                <input name="chkCapcha" type="text"  class="required" value="" maxlength="4" style="width:100px;margin: 0 12px 0 5px;" placeholder="图形验证码"/>
                                                                                <span><img src="/vcode/90/50.html" style="width:82px;cursor:pointer;" title="点击刷新" onclick="changeImg(this);"/></span>
										<!--提示-->
									</div>									
									<div class="clear"></div>
                                                                        <input type="submit" value="确认绑定" id="now-sure" class="sure mt10 btnEvent" style="cursor:pointer;"/>
                                                                        </form>
								</div>
								<!-- 恭喜您的手机绑定成功-->
								<div id="unsuccess" style="display: none;" class="now tc">
									<b class="icon-change3"></b>
									<div class="success-bind">
										<div class="bind">
											<b class="icon icon-success mr20 fl"></b><span class="fl">恭喜您的新手机号绑定成功！</span>
										</div>
										<div class="clear"></div>
									</div>
									<div class="clear"></div>
									<p class="mt20 ti120 tl fresh-pages">3s后自动刷新页面</p>									
								</div>
							</div>
                                                        <{/if}>
							<div class="clear"></div>
						</div>
                                                <!--绑定邮箱-->
						<div class="cash66 mt20">
							<!--title-->
							<div id="mail" class="title" onclick="show('change-email')">
                                                            <input type="hidden" id="pEmail" value="<{$user_info['email']}>"/>
                                                            <div class="vertical"></div><p class="title66">绑定邮箱</p>
                                                            <{if $email}>
                                                            <!--已绑定显示邮箱号码-->
                                                            <a><b class="icon icon-set ml30"></b><span style="font-size: 14px;"><{$email}></span></a>
                                                            <{else}>
                                                            <!--未绑定不显示，提示未绑定-->
                                                            <a><b class="icon icon-unset ml30"></b><span style="font-size: 14px;">未绑定</span></a>
                                                            <{/if}>
                                                            <a href="#mail" class="fr"><b class="setting"><{if $email}>修改<{else}>设置<{/if}></b></a>
							</div>
							<div class="clear"></div>
                                                        <{if !$email}>
							<!--未绑定邮箱号码流程-->
							<div id="change-email" style="display: none;" class="change">
								<!--返回图标-->
								<a class="back fl pl15 mr30" ><b class="icon icon-back mr30" onclick="show('change-email')" style="cursor: pointer;"></b></a>
								<!--第一步获取新邮箱号码验证码-->
								<div id="nowmail" style="display: block;" class="now mr20 dsnone">
									<b class="icon-binded"></b>
									<div class="step"></div>	
									<!--新邮箱号码-->
                                                                        <form id="bind-email-form" method="post">
									<div class="now-phone mt10" id="email_box">
										<span class="f14">新邮箱号码：</span>
										<input name="uEmail" id="uEmail" class="required" style="width: 198px;margin-right: 0px;" type="text" value="" placeholder="新邮箱号码"/>
									</div>
									<div class="clear"></div>
									<div class="message mt10">
										<span class="f14">邮箱验证码：</span>
										<input name="emailCode"  class="required" maxlength="6" style="width:100px;margin: 0 12px 0 5px;" type="text" value="" placeholder="邮箱验证码"/>
                                                                                <button class="bg-dc" id="sendEmailbtn" disabled="true" style="padding: 0px 0px;width: 82px;height: 35px;cursor: not-allowed;" onclick="sendSMSCode(this,'uEmail','e');">发送验证码</button>
									</div>
									<!--图片验证码-->
									<div class="message mt10">
										<span class="f14 captcha">验证码：</span>
										<input name="chkCapcha" type="text"  class="required" value="" maxlength="4" style="width:100px;margin: 0 12px 0 5px;" placeholder="图形验证码"/>
                                                                                <span><img src="/vcode/90/50.html" style="width:82px;cursor:pointer;" title="点击刷新" onclick="changeImg(this);"/></span>
									</div>
									<div class="clear"></div>
                                                                        <input type="submit" value="确认绑定" id="now-sure" class="sure mt10 btnEvent" style="cursor:pointer;"/>
                                                                        </form>
								</div>
								<!-- 第二步恭喜您的邮箱绑定成功-->
								<div id="successmail" style="display: none;" class="now tc">
									<b class="icon-binded2"></b>
									<div class="success-bind">
										<div class="bind">
											<b class="icon icon-success mr20 fl"></b><span class="fl">恭喜您的新邮箱绑定成功！</span>
										</div>
										<div class="clear"></div>
									</div>
									<div class="clear"></div>
									<p class="mt20 ti120 tl fresh-pages">3s后自动刷新页面</p>									
								</div>
								<div class="clear"></div>
							</div>	
							
                                                </div>
                                                        <{else}>
							<!--修改邮箱号码流程-->
							<div id="change-email" style="display: none;" class="change">
								<!--返回图标-->
								<a class="back fl pl15 mr30" onclick=""><b class="icon icon-back mr30 back-icon" onclick="show('change-email')" style="cursor: pointer;"></b></a>
								<!--第一步现邮箱号码---图标-->
								<div id="oldmail" style="display: block;" class="now mr20">
									<b class="icon-change1"></b>
									<div class="step">
									</div>	
									<div class="clear"></div>
                                                                        <form id="modify-email-form" method="post">
									<!--获取现手机号码验证码-->
									<div class="now-phone mt10">
                                                                            <span class="f14">原邮箱号码：</span><label class="ml5"><{$email}></label>
									</div>
									<div class="clear"></div>
									<div class="message mt10">
										<span class="f14">邮箱验证码：</span>
										<input name="emailCode"  style="width:100px;margin: 1px 20px 0 2px;" class="required" type="text" value="" placeholder="短信验证码" value="" maxlength="6"/>
										<button class="bg-red" style="padding: 0px 0px;width: 82px;height: 35px;" onclick="sendSMSCode(this,'pEmail','e');return false;">发送验证码</button>
									</div>
									<div class="clear"></div>
									<input type="submit" value="验证原邮箱" id="now-sure" class="sure mt10 btnEvent" style="cursor:pointer;"/>
                                                                        </form>
								</div>	
								<!--获取新手机号码验证码-->
								<div id="nowmail" style="display: none;" class="now mr20">
									<b class="icon-change2"></b>
									<div class="step">
									</div>	
                                                                        <form id="bind-email-form" method="post">
									<!--现手机号码-->
									<div class="now-phone mt10" id="email_box">
										<span class="f14">新邮箱号码：</span>
										<input name="uEmail" id="uEmail" class="required" style="width: 198px;margin-right: 0px;" type="text" value="" placeholder="新邮箱号码"/>
									</div>
									<div class="clear"></div>
									<div class="message mt10">
										<span class="f14">邮箱验证码：</span>
										<input name="emailCode"  class="required" maxlength="6" style="width:100px;margin: 0 12px 0 5px;" type="text" value="" placeholder="邮箱验证码"/>
                                                                                <button class="bg-dc" id="sendEmailbtn" disabled="true" style="padding: 0px 0px;width: 82px;height: 35px;cursor: not-allowed;" onclick="sendSMSCode(this,'uEmail','e');return false;">发送验证码</button>
									</div>
									<!--图片验证码-->
									<div class="message mt10">
										<span class="f14 captcha">验证码：</span>
										<input name="chkCapcha" type="text"  class="required" value="" maxlength="4" style="width:100px;margin: 0 12px 0 5px;" placeholder="图形验证码"/>
                                                                                <span><img src="/vcode/90/50.html" style="width:82px;cursor:pointer;" title="点击刷新" onclick="changeImg(this);"/></span>
									</div>
                                                                        <div class="clear"></div>
                                                                        <input type="submit" value="确认绑定" id="now-sure" class="sure mt10 btnEvent" style="cursor:pointer;"/>
                                                                        </form>
								</div>
								<!-- 恭喜您的手机绑定成功-->
								<div id="successmail" style="display: none;" class="now tc">
									<b class="icon-change3"></b>
									<div class="success-bind">
										<div class="bind">
											<b class="icon icon-success mr20 fl"></b><span class="fl">恭喜您的新邮箱绑定成功！</span>
										</div>
										<div class="clear"></div>
									</div>
									<div class="clear"></div>
									<p class="mt20 ti120 tl fresh-pages">3s后自动刷新页面</p>									
								</div>
								<div class="clear"></div>
							</div>
							<div class="clear"></div>
						</div>
                                                <{/if}>
                                                <{if 0}>
						<!--third第三方绑定-->
						<div class="cash66 mt15">
							<div class="clear"></div>
							<!--title-->
                                                        <a href="#third">
							<div id="third" class="title" onclick="show('third-bind')">
								<div class="vertical"></div><p class="title66">第三方绑定</p>
                                                                <{if $qq_bind || $weibo_bind}>
								<a class="xl-19" ><b class="icon icon-set ml30"></b><span class="f14 ml5">已绑定</span></a>
                                                                <{else}>
								<a class="xl-19 dsnone"><b class="icon icon-unset ml30"></b><span style="font-size: 14px;">未绑定</span></a>
                                                                <{/if}>
								<a href="#third" class="fr"><b class="setting">绑定</b></a>
							</div>
                                                            </a>
							<div style="display: none;" id="third-bind" class="third-content">
								<ul>
									<li>
										<b class="icon icon-bigqq fl"></b>
										<span class="unbind-qq">
                                                                                        <{if $qq_bind}>
                                                                                        <span>您已绑定QQ[<span style="color:#f26522;"><{$qq_bind['nickname']}></span>]账号</span>
                                                                                        <{else}>
                                                                                        <span>您未绑定QQ号</span>
                                                                                        <{/if}>
											
                                                                                        <br/>
                                                                                        <label>绑定QQ帐号后，可直接使用QQ帐号快速登录弹溜溜</label>
										</span>
                                                                                <{if $qq_bind}>
                                                                                <button class="nbind" style="margin: 16px 8px;">解除绑定</button>
                                                                                <{else}>
                                                                                <button class="nbind" style="margin: 16px 8px;" onclick="window.location.href='/third/qq_login.html';">立即绑定</button>
                                                                                <{/if}>
									</li>
									<div class="clear"></div>
									<li>
										<b class="icon icon-bigsina fl"></b>
										<span class="unbind-qq">
                                                                                        <{if $weibo_bind}>
											<span>您已绑定微博[<span style="color:#f26522;"><{$weibo_bind['nickname']}></span>]账号</span>
                                                                                        <{else}>
                                                                                        <span>您未绑定微博号</span>
                                                                                        <{/if}>
                                                                                        <br/>
                                                                                        <label>绑定微博帐号后，可直接使用微博帐号快速登录弹溜溜</label>
										</span>
                                                                                <button class="nbind" >立刻绑定</button>
									</li>
								</ul>
							</div>
							<div class="clear"></div>
						</div>	
                                                <{/if}>
						<!--four交易密码-->
						<div class="cash66 mt15 change">
							<!--title-->
                                                        <a href="#trade">
							<div id="trade" class="title" onclick="show('four-bind')">
								<div class="vertical"></div><p class="title66">交易密码</p>
                                                                <{if $paypass}>
								<a><b class="icon icon-set ml30"></b><span style="font-size: 14px;">已设置</span></a>
                                                                <{else}>
								<a><b class="icon icon-unset ml30"></b><span style="font-size: 14px;">未设置</span></a>
                                                                <{/if}>
								<a href="#trade" class="fr"><b class="setting"><{if $paypass}>修改<{else}>设置<{/if}></b></a>
							</div>
                                                         </a>   
							<div style="display: none;" id="four-bind" class="four-content now" >
                                                            <a class="back fl pl15 mr30" ><b class="icon icon-back mr30" onclick="show('four-bind')" style="cursor: pointer;"></b></a>
                                                            <b class="icon-binded"></b>
                                                            <div class="step"></div>	
                                                            <form id="modify-paypass-form" method="post">
								<ul>
									<!--设置交易密码-->
									<li>
                                                                            <span>新交易密码:</span><input type="password" id="payPass" name="payPass" placeholder="由6位数字组成" class="required" style="margin: 0 8px 0 6px;" maxlength="6"/>
									</li>
									<div class="clear"></div>
									<!--确认密码-->
									<li>
                                                                            <span>确认密码:</span><input type="password" name="rePayPass" placeholder="再次输入新交易密码" class="required"  style="margin: 0 8px 0 6px;" maxlength="6"/>
									</li>
									<li>
                                                                            <span>短信验证码:</span><input type="text" name="smsCode" placeholder="输入验证码" class="required"  style="width: 65px;margin: 0px 7px;" maxlength="6"/>
                                                                            <button class="bg-dc" disabled="true" id="sendPayBtn" style="width: 84px;padding: 11px 3px;margin-right: 7px;cursor: not-allowed;" onclick="sendSMSCode(this,'pMobile','m');">发送验证码</button>
									</li>
									<li><span class="plr3"></span>
                                                                            <input type="submit" class="sure mt10 btnEvent" style="cursor: pointer;margin: 0px -4px;width: 185px;" value="<{if $paypass}>确认修改<{else}>确认设置<{/if}>"/>
                                                                        </li>
								</ul>
                                                            </form>
							</div>
                                                        <div id="unpaybind" style="display:none;" class="now">
                                                            <a class="back fl pl15 mr30" ><b class="icon icon-back mr30" onclick="show('four-bind')" style="cursor: pointer;"></b></a>
                                                                <b class="icon-binded2"></b>
                                                                <div class="success-bind" style="margin-bottom: 10px;width: 480px;float: left;">
                                                                        <div class="bind">
                                                                                <b class="icon icon-success mr20 fl"></b><span class="fl">恭喜您,交易密码设定成功！</span>
                                                                        </div>
                                                                        <div class="clear"></div>
                                                                </div>
                                                                <div class="clear"></div>
                                                                <p class="mt20 ti120 tl fresh-pages" style="margin: 0px 0px 15px 145px;">3s后自动刷新页面</p>	    								
                                                        </div>
							<div class="clear"></div>
						</div>		
						<!--five登录密码-->
						<div class="clear cash66 mt15">
							<!--title-->
                                                        <a href="#login">
							<div id="login" class="title" onclick="show('five-bind')">
								<div class="vertical"></div><p class="title66">登录密码</p>
								<a><b class="icon icon-set ml30"></b><span style="font-size: 14px;">已设置</span></a>
								<a href="#login" class="fr"><b class="setting">修改</b></a>
							</div>
                                                        </a>
							<div style="display: none;" id="five-bind" class="four-content">
                                                            <a class="back fl pl15 mr30" ><b class="icon icon-back mr30" onclick="show('five-bind')" style="cursor: pointer;"></b></a>
                                                            <b class="icon-binded"></b>
                                                            <div class="step"></div>	
                                                            <form id="modify-pass-form" method="post">
								<ul>
									<li>
                                                                            <span>原始密码:</span><input type="password" name="loginPass" style="margin: 0 8px 0 6px;" placeholder="请输入原始密码" class="required"/>
									</li>
									<div class="clear"></div>
									<li>
                                                                            <span>新密码:</span><input type="password" id="newLoginPass" name="newLoginPass"  style="margin: 0 8px 0 6px;" placeholder="请输入新密码" class="required" maxlength="16"/>
									</li>
									<li>
                                                                            <span>确认密码:</span><input type="password" name="reLoginPass" style="margin: 0 8px 0 6px;" placeholder="再次输入新密码" class="required" maxlength="16"/>
									<li>
                                                                            <span class="plr3"></span>
                                                                            <input type="submit" class="nbind" style="cursor: pointer;margin: 0px -6px;width: 185px;" value="确认修改"/>
                                                                        </li>
								</ul>
                                                            </form>
							</div>
                                                        <div id="unpassbind" style="display:none;" class="now">
                                                            <a class="back fl pl15 mr30" ><b class="icon icon-back mr30" onclick="show('five-bind')" style="cursor: pointer;"></b></a>
                                                                <b class="icon-binded2"></b>
                                                                <div class="success-bind" style="margin-bottom: 10px;width: 480px;float: left;">
                                                                        <div class="bind">
                                                                                <b class="icon icon-success mr20 fl"></b><span class="fl">恭喜您,登录密码修改成功！</span>
                                                                        </div>
                                                                        <div class="clear"></div>
                                                                </div>
                                                                <div class="clear"></div>
                                                                <p class="mt20 ti120 tl fresh-pages" style="margin: 0px 0px 15px 145px;">3s后自动刷新页面</p>	    								
                                                        </div>
							<div class="clear"></div>
						</div>		
						<!--six基本资料-->
						<div class="cash66 mt15 clear">
							<!--title-->
                                                        <a href="#personal-data">
							<div id="personal-data" class="title" onclick="show('six-bind')">
								<div class="vertical"></div><p class="title66">基本资料</p>
                                                                <{if $user_info['nickname']}>
								<a><b class="icon icon-set ml30"></b><span style="font-size: 14px;">已设置</span></a>
                                                                <{else}>
								<a class="dsnone"><b class="icon icon-unset ml30"></b><span style="font-size: 14px;">未设置</span></a>
                                                                <{/if}>
								<a href="#personal-data" class="fr"><b class="setting">修改</b></a>
							</div>
                                                        </a>
							<div style="display: none;" id="six-bind" class="four-content">
                                                            <a class="back fl pl15 mr30" ><b class="icon icon-back mr30" onclick="show('six-bind')" style="cursor: pointer;"></b></a>
                                                            <b class="icon-binded"></b>
                                                            <div class="step"></div>
                                                            <form id="modify-info-form" method="post">
								<ul>
									<li>
                                                                            <span>姓名:</span><input type="text" name="trueName" placeholder="设置真实姓名" value="<{$user_info['truename']}>" class="required" style="margin: 0 8px 0 5px;"/>
									</li>
									<li>
                                                                            <span>昵称:</span><input type="text" name="nickName" placeholder="设置昵称，方便认识哦" value="<{$user_info['nickname']}>" class="required" style="margin: 0 8px 0 5px;"/>
									</li>
									<li class="sex">
										<span>性别:</span>
                                                                                <label class="w15"><input class="w15 pr10" type="radio" name="sex" <{if $user_info['sex'] == 1}> checked="checked" <{/if}>/>男</label>
                                                                                <label class="w15"><input class="w15" type="radio" name="sex" <{if $user_info['sex'] == 2}> checked="checked" <{/if}>/>女</label>
									</li>
									<li>
                                                                            <span>QQ:</span><input type="text" name="QQ" placeholder="设置QQ，方便联系哦" value="<{$user_info['qq']}>" class="required" style="margin: 0 8px 0 5px;"/>
									</li>
									<li>
                                                                            <span class="fl">个性签名:</span><textarea name="sigNature" class="fl required" rows="3" placeholder="设置个性签名，宣扬您的个性" style="margin: 0 12px 0 5px;"><{$user_info['signature']}></textarea>
									</li>
									<li class="clear"><span class="plr3"></span>
                                                                            <input type="submit" class="nbind" style="cursor: pointer;margin: 10px -6px;width: 185px;" value="确认设置"/>
                                                                        </li>
								</ul>
                                                            </form>
							</div>
                            <div id="unbaseinfo" style="display:none;" class="now">
                                <a class="back fl pl15 mr30" ><b class="icon icon-back mr30" onclick="show('six-bind')" style="cursor: pointer;"></b></a>
                                    <b class="icon-binded2"></b>
                                    <div class="success-bind" style="margin-bottom: 10px;width: 480px;float: left;">
                                            <div class="bind">
                                                    <b class="icon icon-success mr20 fl"></b><span class="fl">恭喜您,基本信息修改成功！</span>
                                            </div>
                                            <div class="clear"></div>
                                    </div>
                                    <div class="clear"></div>
                                    <p class="mt20 ti120 tl fresh-pages" style="margin: 0px 0px 15px 145px;">3s后自动刷新页面</p>	    								
                            </div>
						</div>	
						<!--seven上传头像-->
						<div class="cash66 mt15 clear">
							<!--title-->
                                                        <a href="#avatar">
							<div id="avatar" class="title" onclick="show('seven-bind')">
								<div class="vertical"></div><p class="title66">上传头像</p>
								<!--已设置-->
								<a><b class="icon icon-set ml30"></b><span style="font-size: 14px;">已设置</span></a>
								<!--未设置-->
								<a class="dsnone"><b class="icon icon-unset ml30"></b><span style="font-size: 14px;">未设置</span></a>
								<a href="#avatar" class="fr"><b class="setting">修改</b></a>
							</div>
                                                        </a>
							<div style="display: none;" id="seven-bind" class="seven-content">
                                                            <div class="up-icon" id="avatar_upload">
                                                                本组件需要安装Flash Player后才可使用，请从<a href="http://www.adobe.com/go/getflashplayer">这里</a>下载安装。
                                                                <script src="<{base_url('static/default/js/swfobject.js')}>" type="text/javascript"></script>
                                                                <script src="<{base_url('static/default/js/fullAvatarEditor.js')}>" type="text/javascript"></script>
                                                                <script type="text/javascript">
                                                                    var upload_url = "http://static.tan66.com/upload/heading/<{$uinfo['user_id']}>.html";
                                                                    swfobject.addDomLoadEvent(function () {
                                                                        var swf = new fullAvatarEditor("<{base_url('static/default/js/fullAvatarEditor.swf')}>", "", "avatar_upload", {
                                                                                    id : 'swf',
                                                                                    upload_url : upload_url,	//上传接口
                                                                                    method : 'post',	//传递到上传接口中的查询参数的提交方式。更改该值时，请注意更改上传接口中的查询参数的接收方式
                                                                                    src_upload : 0,		//是否上传原图片的选项，有以下值：0-不上传；1-上传；2-显示复选框由用户选择
                                                                                    tab_visible:false,
                                                                                    avatar_box_border_width :2,
                                                                                    avatar_sizes : '90*90|45*45',
                                                                                    avatar_sizes_desc : '90*90像素|45*45像素',
                                                                                    browse_box_align:'left',
                                                                                    avatar_tools_visible:false,
                                                                                    avatar_intro_color:"#fd8686",
                                                                                    avatar_intro_font_size:12,
                                                                                }, function (msg) {
                                                                                    switch(msg.code)
                                                                                    {
                                                                                        case 1 : //插件加载成功
                                                                                        case 2 : //图片加载成功
                                                                                        case 3 :
                                                                                        break;
                                                                                        case 5 : //图片上传成功
                                                                                            if(msg.type == 0){
                                                                                                setTimeout(function(){window.location.reload()},2000);
                                                                                                $(".head_img").attr("src",msg.content.data[0]);
                                                                                            }else{
                                                                                                alert(msg.content.errmsg);
                                                                                            }
                                                                                        break;
                                                                                    }
                                                                                }
                                                                        );
                                                                    });
                                                                </script>
                                                                
                                                            </div>
							</div>
						</div>	
                                                <!--收货地址-->
						<div class="cash66 mt15">
							<!--title-->
                                                        <a href="#address">
							<div class="title" onclick="show('address')">
								<div class="vertical"></div><p class="title66">收货地址</p>
                                                     <{if $address_count}>
								<a><b class="icon icon-set ml30"></b><span style="font-size: 14px;">已设置</span></a>
                                               	     <{else}>
								<a><b class="icon icon-unset ml30"></b><span style="font-size: 14px;">未设置</span></a>
                                       		         <{/if}>
								<a href="#address" class="fr"><b class="setting">修改</b></a>
							</div>
                                                        </a>							
							<!--填写-收货地址-->
							<div id="address" style="display: none;">
								<div class="account-info">
									<table id="address-list">
										<tbody>
											<tr>
												<th>收货人</th>
												<th>收货地址</th>
												<th>联系电话</th>
												<th>操作</th>
											</tr>
                                                                                        <{foreach from=$address_list item=val}>
											<tr>
												<td><{$val['name']}></td>
												<td><{$val['address']}></td>
												<td><{$val['mobile']}></td>
                                                                                                <td><a href="javascript:void(0);" onclick="del_address(this);" class="mlr5 add-delete" data-id="<{$val['id']}>">删除</a><button class="<{if $val['is_default']}>setDefault<{else}>default-address<{/if}>" data-id="<{$val['id']}>" data-status="<{$val['is_default']}>" onclick="def_address(this);"><{if $val['is_default']}>默认地址<{else}>设为默认<{/if}></button></td>
											</tr>
                                                                                        <{/foreach}>
										</tbody>
									</table>
                                                                        <{if $address_count < 2}>
									<div class="add-address">
                                                                            <span style="cursor: pointer;"><em>+</em>&nbsp;&nbsp;&nbsp;新增收货地址</span>
									</div>
                                                                        <{/if}>
								</div>
                                                                <{if $address_count < 2}>
								<!--修改收货地址时，收货人、手机号、所在地这些信息默认都有的-->
								<div id="show-add" class="alipay " style="display: none;">
                                                                        <b class="icon icon-back mt15 ml15 mr30 fl" style="cursor: pointer;padding: 0;" onclick="show('show-add')"></b>
                                                                        <form id="modify-address-form" method="post">
									<ul class="receipt-add">
										<li> <b class="icon-binded" style="margin-top: 3px;"></b></li>
                                                                                <li><span>收货人：</span><input name="receiverName" class="receiver required" type="text" placeholder="请务必填写您的真实姓名,长度不超过8个字"/><br/></li>
                                                                                <li><span>手机号：</span><input name="receiverMobile" class="receiver required" type="text" maxlength="11" placeholder="请输入手机号码"/><br/></li>
                                                                                <li id="city-choose"><span>所在地：</span>
                                                                                    <select class="province required" name="receiverPrivince" style="margin-left: -5px;width:160px;"></select>
                                                                                    <select class="city required" name="receiverCity" style="width:160px;"></select>
                                                                                    <br/>
										</li>
                                                                                <li><span>街道信息：</span><input class="receiver required" name="receiverAddress" type="textarea" rows="3" placeholder="请输入详细街道地址"/><br/></li>
                                                                                <li><span></span><button onclick="return false;" class="cancel-add">取消</button><input type="submit" class="add-bind" value="确认添加" style="cursor:pointer;"/></li>
									</ul>
                                                                        </form>
                                        <script src="<{base_url('static/public/jquery.cxselect.min.js')}>" type="text/javascript"></script>
                                        <script type="text/javascript">
                                            $.cxSelect.defaults.url = "<{base_url('static/public/cityData.min.json')}>";
                                            $('#city-choose').cxSelect({
                                                selects: ['province', 'city'],
                                            });
                                        </script>
									<div class="clear"></div>
								</div>
								<!--第2步-收货地址添加成功-->
                                <div id="unadress" style="display:none;" class="now">
                                    <b class="icon icon-back mt15 ml15 mr30 fl" style="cursor: pointer;padding: 0;margin-left: 35px;"></b>
                                    <b class="icon-binded2" style="padding: 0;margin: 13px 10px;"></b>
                                    <div class="success-bind fl" style="margin-bottom: 10px;width: 480px;">
                                            <div class="bind">
                                                    <b class="icon icon-success mr20 fl" style="margin-left: 100px;"></b><span class="fl">恭喜您,新的收货地址添加成功！</span>
                                            </div>
                                            <div class="clear"></div>
                                    </div>
                                    <div class="clear"></div>
                                    <p class="mt20 ti120 tl fresh-pages" style="margin: 0px 0px 15px 145px;">3s后自动刷新页面</p>	    								
                                </div>
                                                                <{/if}>
							</div>
						</div>	
					</div>
				</div>
			</div>
		</div>
		<div class="clear"></div>
		<!--footer-->
                <script src="<{$style_dir}>/js/user-security.js" type="text/javascript" charset="utf-8"></script>
                <script type="text/javascript">
                    var a=window.location.hash;
                    if(a!=""){
                        a=a.substring(a.lastIndexOf("#")+1,a.length);
                    }
                    $(function(){
                        if(a!=""){
                            show(a);
                        }
                    });
                </script>
		<{include file="public/footer.html"}> 	